package com.company.fastsbapi.dataobject.ro;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

/**
* Created by CodeGenerator on 2020/09/08.
*/
@Data
public class studentUpdateRO {

    private Integer id;

    @NotNull(message = "name不能为空")
    @JsonProperty("name")
    private String name;

    @NotNull(message = "age不能为空")
    @JsonProperty("age")
    private Integer age;

    @NotNull(message = "grade不能为空")
    @JsonProperty("grade")
    private String grade;

    @NotNull(message = "gender不能为空")
    @JsonProperty("gender")
    private String gender;

}